package com.ku_wan.cms.service.impl;

import java.util.List;

import com.ku_wan.cms.dao.NewsMapper;
import com.ku_wan.cms.model.News;
import com.ku_wan.cms.service.NewsService;

public class NewsServiceImpl implements NewsService {
	
	private NewsMapper newsMapper;

	@Override
	public List<News> getNewsAll() {
		return newsMapper.getNewsAll();
	}

	public NewsMapper getNewsMapper() {
		return newsMapper;
	}

	public void setNewsMapper(NewsMapper newsMapper) {
		this.newsMapper = newsMapper;
	}

}
